package com.woniu.entity.vo;

import cn.hutool.core.date.DateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SecActiveVo {
    private Boolean disable;//是否显示原价
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private DateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private DateTime endTime;
    private String name;
    private String limit;//是否限购
    private Integer num;    //限购最大购买量
    private Integer userId;
    private List<SecBookVo> secBookList;
}
